/**
 * 响应结果类型：状态码code
 * 和响应字符串msg
 */
package org.csu.mypetstore.util;

import org.csu.mypetstore.domain.Product;

import java.util.List;

public class ResultProductList {
    private int code;
    private String msg;
    private List<Product> productList;

    public ResultProductList(){
        this.code = 0;
        this.msg = "";
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
